package com.tiku.service;

import com.tiku.common.ResultJson;
import com.tiku.entity.ProductSpecifications;
import com.tiku.entity.UserPayTiku;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface UserPayTikuService extends IService<UserPayTiku> {

    Boolean getSpecFlag(String threadLocal, List<ProductSpecifications> selectedSubjects);

    /**
     * 获取用户所有已经购买的题库
     * @param userId
     * @return
     */
    ResultJson selectList(String userId);
}
